<html><head><title>ExamineJSONMembers</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">ExamineJSONMembers()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#006666"><b>ExamineJSONMembers</b></font>(JSONValue)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Starts to examine the members of a JSON value of <a href="jsontype.html">type</a> <font color="#924B72">#PB_JSON_Object</font>. 
The individual members can be examined with the <a href="nextjsonmember.html">NextJSONMember()</a>, <a href="jsonmemberkey.html">JSONMemberKey()</a> and 
<a href="jsonmembervalue.html">JSONMemberValue()</a> functions. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>JSONValue</i></td>
<td width="90%"> 
The JSON value to examine. The value must be of type <font color="#924B72">#PB_JSON_Object</font>. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns nonzero if the object can be enumerated or zero if there was an error. 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  Input$ = "{ " +<font color="#006666"> Chr</font>(34) + "x" +<font color="#006666"> Chr</font>(34) + ": 10, " + 
<font color="#006666">                  Chr</font>(34) + "y" +<font color="#006666"> Chr</font>(34) + ": 20, " + 
<font color="#006666">                  Chr</font>(34) + "z" +<font color="#006666"> Chr</font>(34) + ": 30 }"
  
<font color="#006666">  ParseJSON</font>(0, Input$)
  ObjectValue =<font color="#006666"> JSONValue</font>(0)
  
  <b><font color="#006666">If</font></b> <font color="#006666">ExamineJSONMembers</font>(ObjectValue)
    <b><font color="#006666">While</font></b> <font color="#006666">NextJSONMember</font>(ObjectValue)
      <b><font color="#006666">Debug</font></b> <font color="#006666">JSONMemberKey</font>(ObjectValue) + " = " +<font color="#006666"> GetJSONInteger</font>(<font color="#006666">JSONMemberValue</font>(ObjectValue))
    <b><font color="#006666">Wend</font></b>
  <b><font color="#006666">EndIf</font></b>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="nextjsonmember.html">NextJSONMember()</a>, <a href="jsonmemberkey.html">JSONMemberKey()</a>, <a href="jsonmembervalue.html">JSONMemberValue()</a>, 
<a href="getjsonmember.html">GetJSONMember()</a>, <a href="setjsonobject.html">SetJSONObject()</a>, <a href="jsontype.html">JSONType()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=createjson.html>CreateJSON()</a> - <a href=index.html>Json Index</a> - <a href=exportjson.html>ExportJSON()</a> ->

</body></html>